package pl.gwt.client.common;

import java.io.Serializable;
import java.util.Date;

public class ClientTask implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2819731384374253955L;

	String name;
	String notes;
	Date time_start;
	Date time_end;
	Date alert;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Date getTime_start() {
		return time_start;
	}

	public void setTime_start(Date time_start) {
		this.time_start = time_start;
	}

	public Date getTime_end() {
		return time_end;
	}

	public void setTime_end(Date time_end) {
		this.time_end = time_end;
	}

	public Date getAlert() {
		return alert;
	}

	public void setAlert(Date alert) {
		this.alert = alert;
	}
	public ClientTask(){
		super();
	}
	
	public void init(String name, String notes, Date time_start,
			Date time_end, Date alert) {		
		this.name = name;
		this.notes = notes;
		this.time_start = time_start;
		this.time_end = time_end;
		this.alert = alert;
	}
}
